// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SEC_OBJECT
// * CreateDate    : 2011/9/27 11:24:18
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:18
// * LastChanger   : 2011/9/27 11:24:18
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SecObjectTable : TableInfo
    {
		public const string C_TableName = "SEC_OBJECT";
		
		public const string C_OBJECT_ID = "OBJECT_ID";
		public const string C_MENU_ID = "MENU_ID";
		public const string C_OBJECT_NAME = "OBJECT_NAME";
		public const string C_OBJECT_CODE = "OBJECT_CODE";
		public const string C_OBJECT_REMARK = "OBJECT_REMARK";
		
		public SecObjectTable()
        {
            _tableName = "SEC_OBJECT";
        }
		
		protected static SecObjectTable _current;
        public static SecObjectTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SecObjectTable();

            _current.Add(C_OBJECT_ID, new ColumnInfo(C_OBJECT_ID,"ObjectId", true, typeof(string)));
            _current.Add(C_MENU_ID, new ColumnInfo(C_MENU_ID,"MenuId", false, typeof(string)));
            _current.Add(C_OBJECT_NAME, new ColumnInfo(C_OBJECT_NAME,"ObjectName", false, typeof(string)));
            _current.Add(C_OBJECT_CODE, new ColumnInfo(C_OBJECT_CODE,"ObjectCode", false, typeof(string)));
            _current.Add(C_OBJECT_REMARK, new ColumnInfo(C_OBJECT_REMARK,"ObjectRemark", false, typeof(string)));
			
		}
		
		public ColumnInfo OBJECT_ID
        {
            get { return this[C_OBJECT_ID]; }
        }
		
		public ColumnInfo MENU_ID
        {
            get { return this[C_MENU_ID]; }
        }
		
		public ColumnInfo OBJECT_NAME
        {
            get { return this[C_OBJECT_NAME]; }
        }
		
		public ColumnInfo OBJECT_CODE
        {
            get { return this[C_OBJECT_CODE]; }
        }
		
		public ColumnInfo OBJECT_REMARK
        {
            get { return this[C_OBJECT_REMARK]; }
        }
		
		
		
	}
}

